package com.ccn.crm.service.impl;

import com.ccn.crm.mapper.unclaimedProjectMapper;
import com.ccn.crm.model.unclaimedProject;
import com.ccn.crm.service.IUnclaimedProject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IUnclaimedProjectServiceImpl implements IUnclaimedProject {

    @Autowired
    private unclaimedProjectMapper iUnclaimedProject;
    @Override
    public int deleteByPrimaryKey(Integer id) {
        return iUnclaimedProject.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(unclaimedProject record) {
        return iUnclaimedProject.insert(record);
    }

    @Override
    public unclaimedProject selectByPrimaryKey(Integer id) {
        return iUnclaimedProject.selectByPrimaryKey(id);
    }

    @Override
    public List<unclaimedProject> selectAll() {
        return iUnclaimedProject.selectAll();
    }

    @Override
    public int updateByPrimaryKey(unclaimedProject record) {
        return iUnclaimedProject.updateByPrimaryKey(record);
    }


    @Override
    public int updateStatusByPid(String pid,String status,String isStart,String node) {
        return iUnclaimedProject.updateStatusByPid(pid,status,isStart,node);
    }

    @Override
    public int updatePoByPid(String pid, String po) {
        return iUnclaimedProject.updatePoByPid(pid,po);
    }

    @Override
    public unclaimedProject selectByPid(String pid) {
        return iUnclaimedProject.selectByPid(pid);
    }

    @Override
    public List<String> selectNowUpdate() {
        return iUnclaimedProject.selectNowUpdate();
    }
}
